/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package encaps.action;

import encaps.entities.Grant;

/**
 *
 * @author fon_Valter
 */
public class ViewRoleActionFactory extends ActionFactory {

    public ViewRoleActionFactory(Grant requiredGrant) {
        this.requiredGrant = requiredGrant;
    }

    @Override
    public Action createAction(ActionContext context) {
        return new ViewRoleAction(context, requiredGrant);
    }
}
